package com.wchen.goods.service.api.web;

import com.wchen.goods.service.api.service.GoodsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class GoodsController {

    @Autowired
    private GoodsService goodsService;

    @GetMapping(value = "formId" )
    public String formIdConsumer(){
        return goodsService.getFormId();
    }
}
